package com.hanj.gulimall.member.feignService;

import com.hanj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 这个接口用来访问其他微服务
 *
 * @author hanj.cn @outlook.com
 * @date 2022 /1/15 15:29
 */
@FeignClient("gulimall-coupon")
@RequestMapping("/coupon/test")
public interface CouponFeignTest {

    /**
     * Feign connect test.
     *
     * @return the response
     */
    @RequestMapping("/feignConnectTest")
    R feignConnectTest();

}
